XR API 2.4
Loading...
Searching...
No Matches
load_library_utility.h File Reference
#include <memory>
#include <utility>
#include <vector>
#include "log-settings/log_defs.h"
#include "xr-runtime-common/xr_api_defs.h"
#include "xr-runtime-common/xr_platform_option.h"
#include "xr-runtime-common/xr_runtime_option.h"
#include "xr-runtime-common/xr_windows.h"

Go to the source code of this file.

Classes

struct  sony::oz::xr_runtime::utility::Library
 

Namespaces

namespace  sony
 
namespace  sony::oz
 API.
 
namespace  sony::oz::xr_runtime
 
namespace  sony::oz::xr_runtime::utility
 

Typedefs

using sony::oz::xr_runtime::utility::sony_ozGetDeviceNum_t = SonyOzResult (*)(SonyOzPlatformId, uint64_t*)
 
using sony::oz::xr_runtime::utility::sony_ozEnumerateDevices_t
 
using sony::oz::xr_runtime::utility::sony_ozSetDebugLogCallback_t
 
using sony::oz::xr_runtime::utility::sony_ozCreateSession_t
 
using sony::oz::xr_runtime::utility::sony_ozDestroySession_t = SonyOzResult (*)(SonyOzSessionHandle*)
 
using sony::oz::xr_runtime::utility::sony_ozBeginSession_t = SonyOzResult (*)(SonyOzSessionHandle)
 
using sony::oz::xr_runtime::utility::sony_ozEndSession_t = SonyOzResult (*)(SonyOzSessionHandle)
 
using sony::oz::xr_runtime::utility::sony_ozGetSessionState_t
 
using sony::oz::xr_runtime::utility::sony_ozUpdateTrackingResultCache_t
 
using sony::oz::xr_runtime::utility::sony_ozGetCachedPose_t
 
using sony::oz::xr_runtime::utility::sony_ozGetProjection_t
 
using sony::oz::xr_runtime::utility::sony_ozSubmitD3d11_t
 
using sony::oz::xr_runtime::utility::sony_ozSubmitD3d12_t
 
using sony::oz::xr_runtime::utility::sony_ozSubmitOpengl_t
 
using sony::oz::xr_runtime::utility::sony_ozSubmitMultiPassD3d11_t
 
using sony::oz::xr_runtime::utility::sony_ozSubmitMultiPassD3d12_t
 
using sony::oz::xr_runtime::utility::sony_ozSubmitMultiPassOpengl_t
 
using sony::oz::xr_runtime::utility::sony_ozEnableStereo_t = SonyOzResult (*)(SonyOzSessionHandle, bool)
 
using sony::oz::xr_runtime::utility::sony_ozSetColorSpace_t
 
using sony::oz::xr_runtime::utility::sony_ozGetTargetMonitorRectangle_t
 
using sony::oz::xr_runtime::utility::sony_ozGetDisplaySpec_t
 
using sony::oz::xr_runtime::utility::sony_ozGetXrSystemError_t
 
using sony::oz::xr_runtime::utility::sony_ozGetXrSystemErrorNum_t
 
using sony::oz::xr_runtime::utility::sony_ozGetXrSystemErrorList_t
 

Functions

 XR_DEFINE_HANDLE (SonyOzSessionHandle)
 
std::pair< bool, std::wstring > sony::oz::xr_runtime::utility::ValidateLibraryVesion (SonyOzPlatformId platform_id, DWORD version[VERSION_SIZE])
 
std::unique_ptr< Librarysony::oz::xr_runtime::utility::LinkXrLibraryWin64 (SonyOzPlatformId platform_id)
 
void sony::oz::xr_runtime::utility::UnlinkXrLibraryWin64 ()
 

Variables

constexpr uint32_t sony::oz::xr_runtime::utility::VERSION_SIZE {4}
 

Function Documentation

◆ XR_DEFINE_HANDLE()

XR_DEFINE_HANDLE ( SonyOzSessionHandle )

Sony CONFIDENTIAL

Copyright 2019,2020,2021,2022 Sony Corporation

DO NOT COPY AND/OR REDISTRIBUTE WITHOUT PERMISSION.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `‘AS IS’' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.